var express = require('express')
var router = express.Router()
const controller = require('../controller/commentController')
/* GET home page. */
router.get('/', controller.findComment)
// 向上推的评论
router.post('/', controller.addComment)
// // 查找所有评论
router.post('/getAll', controller.findAllComment)
router.get('/report', controller.reportComment)
// // 删除多个评论
router.post('/delAll', controller.delAllComment)
module.exports = router
